package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.ManagerUserRecord;

import java.util.*;
public class ManagerUserRecordExample extends SgExample<ManagerUserRecordExample.Criteria> {
    public static final Class<ManagerUserRecord> beanClass = ManagerUserRecord.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn recordId;
    public static EntityColumn functionName;
    public static EntityColumn activeIp;
    public static EntityColumn activeTime;
    public static EntityColumn userName;
    public static EntityColumn userId;
    public static EntityColumn paramContent;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        recordId = listMap.get("recordId");
        functionName = listMap.get("functionName");
        activeIp = listMap.get("activeIp");
        activeTime = listMap.get("activeTime");
        userName = listMap.get("userName");
        userId = listMap.get("userId");
        paramContent = listMap.get("paramContent");
        }

    public ManagerUserRecordExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected ManagerUserRecordExample.Criteria createCriteriaInternal() {
        return new ManagerUserRecordExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public ManagerUserRecordExample.Criteria andRecordIdIsNull() {
            return isNull(recordId);
        }

        public ManagerUserRecordExample.Criteria andRecordIdIsNotNull() {
            return isNotNull(recordId);
        }

        public ManagerUserRecordExample.Criteria andRecordIdEqualTo(Long value) {
            return equalTo(recordId, value);
        }

        public ManagerUserRecordExample.Criteria andRecordIdNotEqualTo(Long value) {
            return notEqualTo(recordId, value);
        }

        public ManagerUserRecordExample.Criteria andRecordIdGreaterThan(Long value) {
            return greaterThan(recordId, value);
        }

        public ManagerUserRecordExample.Criteria andRecordIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(recordId, value);
        }

        public ManagerUserRecordExample.Criteria andRecordIdLessThan(Long value) {
            return lessThan(recordId, value);
        }

        public ManagerUserRecordExample.Criteria andRecordIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(recordId, value);
        }

        public ManagerUserRecordExample.Criteria andRecordIdIn(List<Long> values) {
            return in(recordId, values);
        }

        public ManagerUserRecordExample.Criteria andRecordIdNotIn(List<Long> values) {
            return notIn(recordId, values);
        }

        public ManagerUserRecordExample.Criteria andRecordIdBetween(Long value1, Long value2) {
            return between(recordId, value1, value2);
        }

        public ManagerUserRecordExample.Criteria andRecordIdNotBetween(Long value1, Long value2) {
            return notBetween(recordId, value1, value2);
        }
        public ManagerUserRecordExample.Criteria andFunctionNameIsNull() {
            return isNull(functionName);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameIsNotNull() {
            return isNotNull(functionName);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameEqualTo(String value) {
            return equalTo(functionName, value);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameNotEqualTo(String value) {
            return notEqualTo(functionName, value);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameGreaterThan(String value) {
            return greaterThan(functionName, value);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(functionName, value);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameLessThan(String value) {
            return lessThan(functionName, value);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(functionName, value);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameLike(String value) {
            return like(functionName, value);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameNotLike(String value) {
            return notLike(functionName, value);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameIn(List<String> values) {
            return in(functionName, values);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameNotIn(List<String> values) {
            return notIn(functionName, values);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameBetween(String value1, String value2) {
            return between(functionName, value1, value2);
        }

        public ManagerUserRecordExample.Criteria andFunctionNameNotBetween(String value1, String value2) {
            return notBetween(functionName, value1, value2);
        }
        public ManagerUserRecordExample.Criteria andActiveIpIsNull() {
            return isNull(activeIp);
        }

        public ManagerUserRecordExample.Criteria andActiveIpIsNotNull() {
            return isNotNull(activeIp);
        }

        public ManagerUserRecordExample.Criteria andActiveIpEqualTo(String value) {
            return equalTo(activeIp, value);
        }

        public ManagerUserRecordExample.Criteria andActiveIpNotEqualTo(String value) {
            return notEqualTo(activeIp, value);
        }

        public ManagerUserRecordExample.Criteria andActiveIpGreaterThan(String value) {
            return greaterThan(activeIp, value);
        }

        public ManagerUserRecordExample.Criteria andActiveIpGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(activeIp, value);
        }

        public ManagerUserRecordExample.Criteria andActiveIpLessThan(String value) {
            return lessThan(activeIp, value);
        }

        public ManagerUserRecordExample.Criteria andActiveIpLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(activeIp, value);
        }

        public ManagerUserRecordExample.Criteria andActiveIpLike(String value) {
            return like(activeIp, value);
        }

        public ManagerUserRecordExample.Criteria andActiveIpNotLike(String value) {
            return notLike(activeIp, value);
        }

        public ManagerUserRecordExample.Criteria andActiveIpIn(List<String> values) {
            return in(activeIp, values);
        }

        public ManagerUserRecordExample.Criteria andActiveIpNotIn(List<String> values) {
            return notIn(activeIp, values);
        }

        public ManagerUserRecordExample.Criteria andActiveIpBetween(String value1, String value2) {
            return between(activeIp, value1, value2);
        }

        public ManagerUserRecordExample.Criteria andActiveIpNotBetween(String value1, String value2) {
            return notBetween(activeIp, value1, value2);
        }
        public ManagerUserRecordExample.Criteria andActiveTimeIsNull() {
            return isNull(activeTime);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeIsNotNull() {
            return isNotNull(activeTime);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeEqualTo(Date value) {
            return equalTo(activeTime, value);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeNotEqualTo(Date value) {
            return notEqualTo(activeTime, value);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeGreaterThan(Date value) {
            return greaterThan(activeTime, value);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(activeTime, value);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeLessThan(Date value) {
            return lessThan(activeTime, value);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(activeTime, value);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeIn(List<Date> values) {
            return in(activeTime, values);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeNotIn(List<Date> values) {
            return notIn(activeTime, values);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeBetween(Date value1, Date value2) {
            return between(activeTime, value1, value2);
        }

        public ManagerUserRecordExample.Criteria andActiveTimeNotBetween(Date value1, Date value2) {
            return notBetween(activeTime, value1, value2);
        }
        public ManagerUserRecordExample.Criteria andUserNameIsNull() {
            return isNull(userName);
        }

        public ManagerUserRecordExample.Criteria andUserNameIsNotNull() {
            return isNotNull(userName);
        }

        public ManagerUserRecordExample.Criteria andUserNameEqualTo(String value) {
            return equalTo(userName, value);
        }

        public ManagerUserRecordExample.Criteria andUserNameNotEqualTo(String value) {
            return notEqualTo(userName, value);
        }

        public ManagerUserRecordExample.Criteria andUserNameGreaterThan(String value) {
            return greaterThan(userName, value);
        }

        public ManagerUserRecordExample.Criteria andUserNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(userName, value);
        }

        public ManagerUserRecordExample.Criteria andUserNameLessThan(String value) {
            return lessThan(userName, value);
        }

        public ManagerUserRecordExample.Criteria andUserNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(userName, value);
        }

        public ManagerUserRecordExample.Criteria andUserNameLike(String value) {
            return like(userName, value);
        }

        public ManagerUserRecordExample.Criteria andUserNameNotLike(String value) {
            return notLike(userName, value);
        }

        public ManagerUserRecordExample.Criteria andUserNameIn(List<String> values) {
            return in(userName, values);
        }

        public ManagerUserRecordExample.Criteria andUserNameNotIn(List<String> values) {
            return notIn(userName, values);
        }

        public ManagerUserRecordExample.Criteria andUserNameBetween(String value1, String value2) {
            return between(userName, value1, value2);
        }

        public ManagerUserRecordExample.Criteria andUserNameNotBetween(String value1, String value2) {
            return notBetween(userName, value1, value2);
        }
        public ManagerUserRecordExample.Criteria andUserIdIsNull() {
            return isNull(userId);
        }

        public ManagerUserRecordExample.Criteria andUserIdIsNotNull() {
            return isNotNull(userId);
        }

        public ManagerUserRecordExample.Criteria andUserIdEqualTo(Long value) {
            return equalTo(userId, value);
        }

        public ManagerUserRecordExample.Criteria andUserIdNotEqualTo(Long value) {
            return notEqualTo(userId, value);
        }

        public ManagerUserRecordExample.Criteria andUserIdGreaterThan(Long value) {
            return greaterThan(userId, value);
        }

        public ManagerUserRecordExample.Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(userId, value);
        }

        public ManagerUserRecordExample.Criteria andUserIdLessThan(Long value) {
            return lessThan(userId, value);
        }

        public ManagerUserRecordExample.Criteria andUserIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(userId, value);
        }

        public ManagerUserRecordExample.Criteria andUserIdIn(List<Long> values) {
            return in(userId, values);
        }

        public ManagerUserRecordExample.Criteria andUserIdNotIn(List<Long> values) {
            return notIn(userId, values);
        }

        public ManagerUserRecordExample.Criteria andUserIdBetween(Long value1, Long value2) {
            return between(userId, value1, value2);
        }

        public ManagerUserRecordExample.Criteria andUserIdNotBetween(Long value1, Long value2) {
            return notBetween(userId, value1, value2);
        }
        public ManagerUserRecordExample.Criteria andParamContentIsNull() {
            return isNull(paramContent);
        }

        public ManagerUserRecordExample.Criteria andParamContentIsNotNull() {
            return isNotNull(paramContent);
        }

        public ManagerUserRecordExample.Criteria andParamContentEqualTo(String value) {
            return equalTo(paramContent, value);
        }

        public ManagerUserRecordExample.Criteria andParamContentNotEqualTo(String value) {
            return notEqualTo(paramContent, value);
        }

        public ManagerUserRecordExample.Criteria andParamContentGreaterThan(String value) {
            return greaterThan(paramContent, value);
        }

        public ManagerUserRecordExample.Criteria andParamContentGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(paramContent, value);
        }

        public ManagerUserRecordExample.Criteria andParamContentLessThan(String value) {
            return lessThan(paramContent, value);
        }

        public ManagerUserRecordExample.Criteria andParamContentLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(paramContent, value);
        }

        public ManagerUserRecordExample.Criteria andParamContentLike(String value) {
            return like(paramContent, value);
        }

        public ManagerUserRecordExample.Criteria andParamContentNotLike(String value) {
            return notLike(paramContent, value);
        }

        public ManagerUserRecordExample.Criteria andParamContentIn(List<String> values) {
            return in(paramContent, values);
        }

        public ManagerUserRecordExample.Criteria andParamContentNotIn(List<String> values) {
            return notIn(paramContent, values);
        }

        public ManagerUserRecordExample.Criteria andParamContentBetween(String value1, String value2) {
            return between(paramContent, value1, value2);
        }

        public ManagerUserRecordExample.Criteria andParamContentNotBetween(String value1, String value2) {
            return notBetween(paramContent, value1, value2);
        }
    }
}